package com.bookstore.controller;

import com.bookstore.dto.CategoryDTO;
import com.bookstore.entity.Category;
import com.bookstore.service.AdminCategoryService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/admin/categories")
public class AdminCategoryController extends BaseController<Category, CategoryDTO, Long> {
    
    public AdminCategoryController(AdminCategoryService adminCategoryService) {
        super(adminCategoryService);
    }
}